<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物</title>
    <link rel="stylesheet" href="../layuiadmin/layui/css/layui.css">
</head>

<body>

</body>
<script src="./css/jquery-3.2.0.min.js"></script>
<script src="../layuiadmin/layui/layui.js"></script>
<script src="./css/shop.js"></script>
<script>
    layui.use(['table', 'layer', 'element'], function() {
        var table = layui.table,
            layer = layui.layer,
            element = layui.element;

        var a = window.location.href.split("?")[1].split("=")[1].split(",")
        console.log(a)

    });
</script>


</html>